package com.block.db.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2023-08-05
 */
@Getter
@Setter
@TableName("lq_member_base_info")
public class MemberBaseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "uid", type = IdType.ASSIGN_ID)
    private Long uid;

      private String dateInfo;

    /**
     * 手机号
     */
    private String mobile;

    /**
     * 手机md5
     */
    private String mobileMd5;

    /**
     * 渠道号
     */
    private String channelCode;

    /**
     * 渠道名称
     */
    private String channelName;

    /**
     * 用户名
     */
    private String username;

    /**
     * 真实姓名
     */
    private String realname;

    /**
     * 身份证号
     */
    private String idcard;

    /**
     * 用户类型（1 正常用户）（0 测试用户）（2 管理用户）
     */
    private Integer type;

    private Integer regType;

    /**
     * 是否已经认证
     */
    private Integer status;

    private Integer sourceFlag;
    /**
     * 用户状态
     */
    private Integer authFlag;
    private Integer faceFlag;

      @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

      @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updateTime;

      private String regReqIp;
      private String regAppCode;

      private BigDecimal creditLimitAmount;
      private LocalDateTime showProdTime;

}
